/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Objects;

import Tools.Tools;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author mtovar
 */
public class Archguid_cp {
    private int numfact;
    
    /**
     * 
     */
    public Archguid_cp(){

    }

    /**
     * 
     * @param rs 
     */
    public Archguid_cp(ResultSet rs){
        try{
            numfact           = rs.getInt(1);
           
        }catch(SQLException e){
            Tools.getErrorMessage(e.getStackTrace(),e.getMessage());
        }
    }    

    /**
     * @return the numfact
     */
    public int getNumfact() {
        return numfact;
    }

    /**
     * @param numfact the numfact to set
     */
    public void setNumfact(int numfact) {
        this.numfact = numfact;
    }

}
